<?php

/*
Add Enemy (admin_add_enemy.php)
*/

$page_title = "Add Enemy";
$rank_check = 7;
include "../header.inc.php";

$game=$_GET['game'];

print "$openHTML";

ECHO <<<END

<P><FORM ACTION="admin_add_enemy.pro.php?game=$game" enctype="multipart/form-data" METHOD=POST>
   <CENTER><TABLE BGCOLOR="$tableOutline" CELLSPACING=1 CELLPADDING=0 WIDTH=400>
      <TR BGCOLOR="$topAndBottomBG">
         <TD COLSPAN=2 HEIGHT=50>
            <CENTER><FONT SIZE="+2" COLOR="$topAndBottomText">--Add Enemy--</FONT></CENTER>
         </TD>
      </TR>
      <TR BGCOLOR="$maincellColor">
         <TD WIDTH=128 HEIGHT=40>
            <P>Enemy Name</P>
         </TD>
         <TD HEIGHT=40>
            <P><FONT SIZE="-1">&nbsp;<INPUT TYPE=text NAME="add_pet_name" VALUE="" SIZE=30 MAXLENGTH=16></FONT></P>
         </TD>
      </TR>
      <TR BGCOLOR="$middleBG">
         <TD WIDTH=128 HEIGHT=40>
            <P>Enemy Image</P>
         </TD>
         <TD HEIGHT=40>
            <P><FONT SIZE="-1">&nbsp;<input type=file name=petImage></FONT></P>
         </TD>
      </TR>
      <TR BGCOLOR="$maincellColor">
         <TD WIDTH=128 HEIGHT=40>
            <P>Stats:</P>
         </TD>
         <TD HEIGHT=40>
            <P><FONT SIZE="-1">
            &nbsp;Level: <INPUT TYPE=text NAME="add_level" VALUE="" SIZE=4 MAXLENGTH=16><br>
            &nbsp;Strength: <INPUT TYPE=text NAME="add_strength" VALUE="" SIZE=4 MAXLENGTH=16><br>
			&nbsp;Defense: <INPUT TYPE=text NAME="add_defense" VALUE="" SIZE=4 MAXLENGTH=16><br>
			&nbsp;Speed: <INPUT TYPE=text NAME="add_speed" VALUE="" SIZE=4 MAXLENGTH=16><br>
			&nbsp;Health Points: <INPUT TYPE=text NAME="add_health" VALUE="" SIZE=4 MAXLENGTH=16>
			</FONT></P>
         </TD>
      </TR>
      <TR BGCOLOR="$middleBG">
         <TD WIDTH=128 HEIGHT=40>
            <P># To Kill:</P>
         </TD>
         <TD HEIGHT=40>
            <P><INPUT TYPE=text NAME="to_kill" VALUE="" SIZE=4 MAXLENGTH=16></FONT></P>
         </TD>
      </TR>
      <TR BGCOLOR="$maincellColor">
         <TD WIDTH=128 HEIGHT=40>
            <P>Attack Pattern: <a href=help.php?game=$game&help=attack_pattern>HUH??</a><Br><a href=admin_add_attacks.php?game=$game>Add Attack!</a></P>
         </TD>
         <TD HEIGHT=40>
            <P><TEXTAREA NAME=attack_pattern ROWS=7 COLS=27 WRAP=virtual></TEXTAREA></P>
         </TD>
      </TR>
      <TR>
         <TD COLSPAN=2 HEIGHT=30 BGCOLOR="$topAndBottomBG">
            <CENTER><FONT SIZE="-1" COLOR="$topAndBottomText"><I><INPUT TYPE=submit NAME=Submit VALUE="Add Enemy!!"></I></FONT></CENTER>
         </TD>
      </TR>
   </TABLE>
   </CENTER>
</FORM></P>

END;

print "$closeHTML";
?>
